package emp.repositorios;

import java.util.List;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.axcessfinancial.domain.repository.BaseRepository;
import emp.entidades.EntCompraDet;

public interface CompraDetRepository extends BaseRepository<EntCompraDet, Long>{

	@Query("select c from EntCompraDet c where c.entCompra.id=:idCompra")
	public List<EntCompraDet> ListarDetalleCompra(@Param("idCompra") long idCompra);
	
}